package io.renren.service;

import io.renren.entity.TApiDeployinfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-11-27 10:48:55
 */
public interface TApiDeployinfoService {
	/**
	 * 启用
	 * @param tApiDeployinfo
	 */
	public void enable(TApiDeployinfoEntity tApiDeployinfo) ;
	
	/**
	 * 禁用
	 * @param tApiDeployinfo
	 */
	public void disable(TApiDeployinfoEntity tApiDeployinfo);
	
	/**
	 * ekb授权获取token
	 * @param tApiDeployinfo
	 */
	public Object auth(TApiDeployinfoEntity tApiDeployinfo);
	/**
	 * 测试连接
	 */
	public Object testservice(Integer id);
	List<TApiDeployinfoEntity> queryAll();
	TApiDeployinfoEntity queryObject(Integer id);
	
	List<TApiDeployinfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TApiDeployinfoEntity tApiDeployinfo);
	
	void update(TApiDeployinfoEntity tApiDeployinfo);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
